@extends('layouts.public')
@section('content')

@if (Session::has('error'))
   {{ Session::get('error') }}
   <br /><br />
@endif

<h2>login</h2>
 {{ Form::open(array('url' => '/login', 'method' => 'post')) }}
 {{ Form::label('email', 'E-Mail Address: ', array('class' => 'label')) }}
 {{ Form::text('email', 'jeremy.ripley@gmail.com') }}
 <br />
 {{ Form::label('password', 'Password: ', array('class' => 'label')) }}
 {{ Form::password('password') }}
 <br />
 {{ Form::submit('Click Me!') }}
 {{ Form::close() }}
@stop